/**     
* @Title: SpringDemoFeignController.java   
* @Package me.cloud   
* @Description: TODO   
* @author xaoyaoyao
* @date 2018年12月2日 下午10:36:48
*/
package me.cloud;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: SpringDemoFeignController
 * @Description: TODO
 * @author xaoyaoyao
 * @date 2018年12月2日 下午10:36:48
 * 
 */
@RestController
public class SpringDemoFeignController {

	@Autowired
	SpringDemoFeignService springDemoFeignService;

	@RequestMapping(value = "hello", method = RequestMethod.GET)
	public String port() {
		return springDemoFeignService.hello();
	}
}